-
Notifications
You must be signed in to change notification settings - Fork 32
issue #31 #32
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
issue #31 #32
Changes from 3 commits
9e928cc
1b2d536
5e0f3d8
9201458
b154a0d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,14 +70,17 @@ def build(dir): | |
| makestudy_dir = dirname + "/" + graphml_file #for makestudy | ||
| dir_path = os.path.abspath(os.path.join(concore_path, graphml_file)) #path for ./build | ||
| if not os.path.exists(dir_path): | ||
| proc = call(["./makestudy", makestudy_dir], cwd=concore_path) | ||
| proc = call(["makestudy", makestudy_dir],shell=True, cwd=concore_path) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks. So this fix should be repeated for all the methods (clear, run, ...) I believe?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes I will update soon
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks. |
||
| if(proc == 0): | ||
| resp = jsonify({'message': 'Directory successfully created'}) | ||
| resp.status_code = 201 | ||
| else: | ||
| resp = jsonify({'message': 'There is an Error'}) | ||
| resp.status_code = 500 | ||
| call(["./build"], cwd=dir_path) | ||
| else: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please keep the PRs to be minimal. If you are addressing a bug, the PR should just address that, instead of making the logs more verbose, like here.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually I put an else block here as if
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. aha, sorry, my bad. You are right. |
||
| resp= jsonify({"message":"Success"}) | ||
| resp.status_code=200 | ||
| call(["build"],shell=True, cwd=dir_path) | ||
| return resp | ||
|
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this was an issue in the dev branch. It was updated in the main branch. Now I have merged the pull request. So this README should be fixed now.