Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
ComStock! #65
ComStock! #65
Changes from 17 commits
fc4c041
65e6329
eda0f5a
fbdbd76
2990efe
5bcd369
37cb2f9
48b1873
44f59cf
0bc880c
c0a9bfe
b708915
d4e48c4
39f7a29
f1fafb1
850303d
fa7f068
810a638
95a0e06
fa16cef
23a6efc
c76b578
878fa75
721f4bb
0189471
54cd807
0b0c144
1dd308e
9d88003
8c7c7f2
4ddcf13
a79b2ea
5142566
f3e88d0
6d77611
b034f82
bd14ecd
aafc455
f27017f
76bef02
120d159
d1db85e
a0c5628
d2cd915
517c59b
5fb5dc7
1788a4e
c061c26
b7b404c
72bbd66
c96a397
a0780fa
adf302e
ed602bd
ae62171
34cb059
c5510d6
8a6b4bc
9abb0b7
da480c7
d9e03b8
5f653eb
4d6d5d7
1fb08dd
50e9f82
36eb73c
3aba168
6ea0b75
ccbb7d3
49d4b88
afbb416
1679fb4
f8d3d67
69f7b51
588e590
bbc0cc6
6928d6a
d7702b5
744bae5
37b56fd
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
A lot of this is redundant with the next several lines. The only thing that is different is
sys_image_dir
. What if instead of doing this you created an@property
getter forsys_image_dir
on this class that looked in the config file and did this check. You could then change the current class attributesys_image_dir
todefault_sys_image_dir
and use if it is not specified in the config file.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.
Good check.
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.
I'm not sure I like this. We have a validation that checks for the results directory and errors out if it exists. Then the user has to delete it themselves or choose another location. Things get really weird when you start overwriting results.
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.
Feel free to get rid of "override existing".
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.
I'm not 100% percent sure how these gems are getting into the container. Is it through your custom singularity image?
Anyway, I don't see something comparable in localdocker.py. There probably should be something there too.
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.
Do we need to have separate singularity and docker sampler classes? These look exactly the same. I know you're probably doing this because we have separate classes for residential because our sampling runs in a container. Someday I'd like that not to be the case.
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.
I'm going to deal with this in #147, so let's not worry about it for now.