File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ def convert_dec_string(dec_str: str) -> u.Quantity:
413413 given string of the form "dec_XXXX" or "dec_min_XXXX"."""
414414
415415 # Check if dec_str has a valid format
416- pattern = r'^dec(_min)?_[0-9]{4} $'
416+ pattern = r'^dec_(\d{3,4})$|^dec_min_(\d{3,4}) $'
417417 if re .match (pattern , dec_str ):
418418
419419 # Split the string into parts
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ def test_datasequence(
244244 running_analysis_dir ,
245245 run_catalog ,
246246 run_catalog_dir ,
247- rf_models_dir ,
247+ rf_models_allsky_basedir ,
248248 rf_model_path
249249):
250250 drs4_file = "drs4_pedestal.Run00001.0000.fits"
@@ -259,7 +259,7 @@ def test_datasequence(
259259
260260 assert run_catalog_dir .exists ()
261261 assert run_catalog .exists ()
262- assert rf_models_dir .exists ()
262+ assert rf_models_allsky_basedir .exists ()
263263 assert rf_model_path .exists ()
264264
265265 output = run_program (
You can’t perform that action at this time.
0 commit comments