Skip to content

Fixed setup.py and added a simple test file which can be run to check… - #4

Merged
SteVwonder merged 6 commits into
mainfrom
fix_setup_py
Mar 23, 2021
Merged

SteVwonder merged 6 commits into
mainfrom
fix_setup_py

Conversation

@hategan

@hategan hategan commented Mar 20, 2021

Copy link
Copy Markdown
Collaborator

… basic functionality

Fixes #3

To check:

pip3 install -e .
python3 tests/run_local_job.py

Should print something like

Job submitted
Job done: JobStatus[COMPLETED, time=1616205826.194412, exit_code=0]

Comment thread tests/run_local_job.py Outdated
@@ -0,0 +1,12 @@
# This is meant as a simple test file to check if psi/j was installed successfully

from psi.j import SubmitException, Job, JobExecutor, JobSpec, JobState

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some imports are not used which probably will trip a linter.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. The tests were not even checked.

I added the tests dir to "make checks" and removed the unused imports.

@andre-merzky andre-merzky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@SteVwonder SteVwonder left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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

Successfully merging this pull request may close these issues.

Installation with pip

3 participants