Comments (4)
Look into that example, it doesn't even import duecredit. That is why it would not know about duecredit even if you set env variable. That is the beauty of the -m due credit approach :-)
On August 12, 2015 7:41:47 PM EDT, Matteo Visconti di Oleggio Castello [email protected] wrote:
Is this just replaced by
python -m duecredit
?(duecredit)contematto@talete ~/github/duecredit/examples (master*) $ DUECREDIT_ENABLE=True python example_scipy.py I: Simulating 4 blobs I: Done clustering 4 blobs (duecredit)contematto@talete ~/github/duecredit/examples (master*) $ python -m duecredit example_scipy.py I: Simulating 4 blobs I: Done clustering 4 blobs DueCredit Report: - scipy (v 0.14) [1] - scipy.cluster.hierarchy:linkage (v 0.14) [2] - sklearn (v 0.17.dev0) [3] 2 packages cited 0 modules cited 1 functions cited References ---------- [1] Jones, E. et al., 2001. SciPy: Open source scientific tools for Python. [2] Sibson, R., 1973. SLINK: an optimally efficient algorithm for the single-link cluster method. The Computer Journal, 16(1), pp.30–34. [3] Pedregosa, F. et al., 2011. Scikit-learn: Machine learning in Python. The Journal of Machine Learning Research, 12, pp.2825–2830.
Reply to this email directly or view it on GitHub:
#45
Sent from a phone which beats iPhone.
from duecredit.
ha! you changed that example. ok :-)
On Wed, Aug 12, 2015 at 8:38 PM, Yaroslav Halchenko <
[email protected]> wrote:
Look into that example, it doesn't even import duecredit. That is why it
would not know about duecredit even if you set env variable. That is the
beauty of the -m due credit approach :-)On August 12, 2015 7:41:47 PM EDT, Matteo Visconti di Oleggio Castello <
[email protected]> wrote:Is this just replaced by
python -m duecredit
?(duecredit)contematto@talete ~/github/duecredit/examples (master*) $ DUECREDIT_ENABLE=True python example_scipy.py I: Simulating 4 blobs I: Done clustering 4 blobs (duecredit)contematto@talete ~/github/duecredit/examples (master*) $ python -m duecredit example_scipy.py I: Simulating 4 blobs I: Done clustering 4 blobs DueCredit Report: - scipy (v 0.14) [1] - scipy.cluster.hierarchy:linkage (v 0.14) [2] - sklearn (v 0.17.dev0) [3] 2 packages cited 0 modules cited 1 functions cited References ---------- [1] Jones, E. et al., 2001. SciPy: Open source scientific tools for Python. [2] Sibson, R., 1973. SLINK: an optimally efficient algorithm for the single-link cluster method. The Computer Journal, 16(1), pp.30–34. [3] Pedregosa, F. et al., 2011. Scikit-learn: Machine learning in Python. The Journal of Machine Learning Research, 12, pp.2825–2830.
Reply to this email directly or view it on GitHub:
#45Sent from a phone which beats iPhone.
—
Reply to this email directly or view it on GitHub
#45 (comment).
from duecredit.
from duecredit.
yes sir! :-)
from duecredit.
Related Issues (20)
- Integration with citepy CSL data classes HOT 3
- References are not deduplicated in a bibtex summary HOT 3
- Ci testing fails
- How to cite duecredit? HOT 5
- Use DueCredit for data files HOT 2
- Deprecation warning for due credit. HOT 3
- [wishlist] interface to templating engines (e.g. ninja) to provide users a flexible way to render reports
- [wishlist] option (env var) to not load existing .duecredit.p upon start
- Help adding duecredit HOT 20
- Enable duecredit by default, but without injections
- SciPy injection is outdated HOT 3
- Switch from WARNING to DEBUG for outdated injections etc
- Best practices for integrating conditional dcite decorators into Nipype workflows? HOT 2
- DueCredit internal failure while running <function DueSwitch.dump ... on Windows 10 HOT 5
- Improve usage in Jupyter HOT 2
- Internal error: Both inactive and active collectors should be provided HOT 1
- [wishlist] Can duecredit be exported as codemeta? HOT 1
- DueCredit `cite()` doesn't work and `dcite()` works, but not always HOT 5
- Duecredit API HOT 1
- inactively `@due.dcite`-decorated classes become unpicklable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duecredit.