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

genesis prompt for input files during import #6123

Closed
moellep opened this issue Jul 18, 2023 · 1 comment
Closed

genesis prompt for input files during import #6123

moellep opened this issue Jul 18, 2023 · 1 comment
Assignees
Milestone

Comments

@moellep
Copy link
Member

moellep commented Jul 18, 2023

When you import a genesis simulation which refers to input files, the import process should prompt for those files, similar to the process used by elegant and opal.

For example, importing this file:

$newrun
CURPEAK = 134.2
DELGAM = 0.05
FL = 49
DISTFILE = 'dist.dat'
IPPART = 10
IPRADI = 10
OUTPUTFILE = 'genesis.out'
PRAD0 = 0.1
XLAMDS = 1.283e-05
ZSTOP = 250
NSEC = 2
NWIG = 49
$end

should prompt for the file "dist.dat"

@moellep moellep added this to the fastfelo milestone Jul 18, 2023
@moellep
Copy link
Member Author

moellep commented Aug 14, 2023

For an example of this in other apps, look at the OPAL opalImportOptions directive. Like opal, genesis has fields with the schema type "InputFile". If possible, create a common directive which can be used by both opal and genesis.

gurhar1133 added a commit that referenced this issue Aug 15, 2023
gurhar1133 added a commit that referenced this issue Aug 15, 2023
gurhar1133 added a commit that referenced this issue Aug 15, 2023
gurhar1133 added a commit that referenced this issue Aug 15, 2023
gurhar1133 added a commit that referenced this issue Aug 15, 2023
gurhar1133 added a commit that referenced this issue Aug 15, 2023
gurhar1133 added a commit that referenced this issue Aug 16, 2023
gurhar1133 added a commit that referenced this issue Aug 16, 2023
gurhar1133 added a commit that referenced this issue Aug 16, 2023
gurhar1133 added a commit that referenced this issue Aug 17, 2023
mkeilman pushed a commit that referenced this issue Oct 19, 2023
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

2 participants