Skip to content

Commit

Permalink
allow separate saving of skymodels
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholebarry authored and bhazelton committed Feb 7, 2025
1 parent d0e3641 commit 7c1316e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion fhd_core/setup_metadata/fhd_save_io.pro
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ IF Keyword_Set(text) THEN BEGIN
ENDIF

IF N_Elements(var_name) EQ 0 THEN var_name='' ELSE var_name=StrLowCase(var_name)
IF var_name NE 'status_str' THEN IF not tag_exist(status_use,var_name) THEN RETURN
IF var_name NE 'status_str' THEN IF ~strmatch(var_name,'skymodel*') THEN IF not tag_exist(status_use,var_name) THEN RETURN

CASE var_name OF ;listed in order typically generated
'status_str':BEGIN path_add='_status' & subdir='metadata' & END
Expand Down
7 changes: 1 addition & 6 deletions fhd_core/source_modeling/source_list_append.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ IF Keyword_Set(exclude_duplicate) THEN BEGIN
;If no unique sources, return the entire first source list.
IF n_uniq1 GT 0 THEN source_list=source_list1[uniq_i1] ELSE source_list=source_list1
ENDIF ELSE BEGIN
CASE n_dup OF
0:source_list=[source_list1,source_list2]
n2:source_list=source_list1
n1:source_list=source_list2
ELSE:source_list=[source_list1[uniq_i1],source_list2]
ENDCASE
source_list=[source_list1,source_list2]
ENDELSE

RETURN,source_list
Expand Down

0 comments on commit 7c1316e

Please sign in to comment.