-
Notifications
You must be signed in to change notification settings - Fork 7
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
looper documentation; complete(?) todo list #254
Comments
can you clarify compute settings priority order? Shouldn't it be:
|
your order reflects current implementation, except for I thought that |
Ok, you could think of it that way. the other way to think of it is that |
but wait, I guess |
the question is: is |
I implemented this based on this sentence from #245 :
so it was just my interpretation. But I think I still don't understand your intent; why would you to need to specify Is this the YAML file you'd use? package: local I thought we want: mem: 10000
cores: 2
jobname: test |
the second example is correct. the settings is just between package and compute. It's legitimate to put it in either place, I think. I just don't think I would use settings for on-the-fly stuff... I'd use it more like an ad-hoc package. that's why I put it lower priority. you think of it as on-the-fly, so lumped it with compute for priority. it can be used in either way. I think the way you did it is fine. |
For the input schema section --
which is true of input schemas:
Then, I have the same question for output schemas -- but this, I'm pretty sure all the extra stuff extends outside the scope of eido, right? Because it's not used for validation, but for summarizer stuff. |
2 is true eido is not aware of
yes, eido is not used at all with respect to output schema |
Wait -- that's not what we said here: |
Ok, I guess the question I have is this: Does it makes sense to move required_intput_attrs and input_attrs into eido? That's how I thought it was implemented; it makes sense to me that way. If the other way makes more sense, why? |
I confused eido functionality with general PEP schema functionality, sorry.. inputs validation is currently a I agree, it makes much more sense to move it to eido. |
Ok I've updated the docs to reflect this; looper now just refers to the eido docs, and the |
great, I'll move the input validation to eido today |
if you have a moment, can you look through the latest dev version of the docs and see if we're missing anything? |
found an inconsistency in the docs in https://github.com/pepkit/looper/blob/dev/docs/defining-a-project.md#2-add-a-looper-section-to-your-pep related to #253 in the current implementation The rest of the keys mentioned in the docs are valid, because I made the system backwards compatible. So for example the following scenario works: no dotfile, but Project.output_dir set in the config |
I guess we could make it possible, but this would require some retooling |
@stolarczyk do you consider the docs complete now? can close this issue? |
after recent round of changes related to The current implementation reflects what I wrote in the last comment in #244 minus the "behind the scenes" sample-based project pipeline interface selection. Additionally, the command_template namespaces might be out of date |
I can read through the docs tonight and see if they reflect the reality ;) |
I think I finished updating the pipeline interface docs... |
I've read through the docs and made some changes, I think they are ready. But after
The hello world jupyter notebook is missing so the markdown file is no longer created, but linked in 2 places. We lost the entire |
No, let me look into that. |
I deleted them in this commit somehow: 27ca124 I got it back with:
Now the docs build again. |
I'll declare these docs complete enough, then, and close this issue. |
looper has changed a lot. This is a list of new features that we will need to describe in the documentation before the release:
--settings
arg can be used to point to YAML file with template variables.--settings
YAML file specification <--compute
itemized specification).looper.yaml
in the project directory can be used to pre-set CLI optionslooper init pep.yaml
can be used to produce a ready to use.looper.yaml
filelooper runp
, project_pipeline concept, how a set of pipelines to run on the project level is determined: pipeline interface specification #244 (comment)--compute
can be used to specify arguments other than resources (as previously)--command-extra
is the only way to append strings to the pipeline commandcommand_template
section in the pipeline interface is a Jinja2 template; variable namespaces availabilitysize_dependent_variables
moved from pipleline interface and is a TSV file that pipeline interface points todynamic_variables_command_template
is a Jinja2 template to construct a system command run in a subprocess. It has to return a JSON object, which is then used to populate submission templates, but see "compute settings priority order"eido
for PEP validationrequired_inputs_attr
andall_inputs_attr
, respectivelyalready opened issues:
The text was updated successfully, but these errors were encountered: