You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix parsl config deprecation issues
* Add test coverage for all resource configurations
* Fix Python 3.9 compatibility (use Optional instead of |)
* Remove pinned python version from pre-commit config
* Fix linting in test_basic.py and duplicate key search config
* Remove unneeded commented lines in parsl_configurator.py
* Refactor tests: Rename to test_resource_config.py and use unittest
* Simplify test docstrings and comments
* Remove deprecated mom_lims from search config yaml
parser=argparse.ArgumentParser(description='Tool to generate .toml files for Parsl Workflow.') # 4/21/2025 COC
113
-
parser.add_argument('--basedir', dest='basedir', help='path to staging directory containing ImageCollections. Default: current working directory.', type=str, default=os.getcwd())
114
-
parser.add_argument('--reflex-distances', dest='reflex_distances', help='reflex-correction distances; default is None, which results in the directory being crawled and the first reflex-distance found in an ImageCollection is used. There should only be one distance, but multiple are supported.', type=float, default=None, nargs='+')
115
-
parser.add_argument('--site-name', dest='site_name', help='Observatory site name. Default: "Rubin"', type=str, default="Rubin")
116
-
parser.add_argument('--disable-cleanup', dest='disable_cleanup', help='disable deletion of reprojected WorkUnits after successful run. Default: False', type=bool, default=False)
117
-
parser.add_argument('--nworkers', dest='nworkers', help='number of workers (cores) to assume. Default: 32', type=int, default=32)
parser.add_argument('--generic-toml-path', dest='generic_toml_path', help='Path to a special generic TOML file. Default: ~/generic_runtime_config.toml', type=str, default=f"{script_directory}/generic_runtime_config.toml")
120
-
parser.add_argument('--generic-sbatch-path', dest='generic_sbatch_path', help='Path to a special generic sbatch file. Default: ~/generic_parent_parsl_sbatch.sh', type=str, default=f"{script_directory}/generic_parent_parsl_sbatch.sh")
121
-
parser.add_argument('--generic-yaml-path', dest='generic_yaml_path', help='Path to a special generic kbmod search config yaml file. Default: ~/generic_search_config.yaml', type=str, default=f"{script_directory}/generic_search_config.yaml")
120
+
121
+
parser=argparse.ArgumentParser(
122
+
description="Tool to generate .toml files for Parsl Workflow."
123
+
) # 4/21/2025 COC
124
+
parser.add_argument(
125
+
"--basedir",
126
+
dest="basedir",
127
+
help="path to staging directory containing ImageCollections. Default: current working directory.",
128
+
type=str,
129
+
default=os.getcwd(),
130
+
)
131
+
parser.add_argument(
132
+
"--reflex-distances",
133
+
dest="reflex_distances",
134
+
help="reflex-correction distances; default is None, which results in the directory being crawled and the first reflex-distance found in an ImageCollection is used. There should only be one distance, but multiple are supported.",
135
+
type=float,
136
+
default=None,
137
+
nargs="+",
138
+
)
139
+
parser.add_argument(
140
+
"--site-name",
141
+
dest="site_name",
142
+
help='Observatory site name. Default: "Rubin"',
143
+
type=str,
144
+
default="Rubin",
145
+
)
146
+
parser.add_argument(
147
+
"--disable-cleanup",
148
+
dest="disable_cleanup",
149
+
help="disable deletion of reprojected WorkUnits after successful run. Default: False",
150
+
type=bool,
151
+
default=False,
152
+
)
153
+
parser.add_argument(
154
+
"--nworkers",
155
+
dest="nworkers",
156
+
help="number of workers (cores) to assume. Default: 32",
0 commit comments