Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module invocation works only partially #50

Open
ArneBachmann opened this issue May 9, 2018 · 0 comments
Open

Module invocation works only partially #50

ArneBachmann opened this issue May 9, 2018 · 0 comments

Comments

@ArneBachmann
Copy link
Contributor

ArneBachmann commented May 9, 2018

One more hint for the docs:
It´s possible to invoke the tool via python -m git_of_theseus.analyze <repo-path> which may be interesting for PyPy use for broken/complex Python environments.

It also works for python -m git_of_theseus.survival_plot survival.json --exp-fit.

Invoking python -m git_of_theseus.stack_plot cohorts.json leads to a warning (but generates the plot nevertheless):

D:\apps\Miniconda3\lib\runpy.py:125: RuntimeWarning: 'git_of_theseus.stack_plot' found in sys.modules after import of package 'git_of_theseus', but prior to execution of 'git_of_theseus.stack_plot'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))

There is some discussion on the topic here.

@ArneBachmann ArneBachmann changed the title Hint Module invocation works only partially May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant