Skip to content

Commit 69f2842

Browse files
gshiromagmgunter
authored andcommitted
Assign auto to empty memory mode in GCOV runconfig (#1003)
* assign auto to empty memory mode in GCOV runconfig * Update python/packages/nisar/workflows/gcov_runconfig.py Co-authored-by: Geoffrey M Gunter <[email protected]> Co-authored-by: Geoffrey M Gunter <[email protected]>
1 parent 8789f9b commit 69f2842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/packages/nisar/workflows/gcov_runconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def load(self):
4040
geocode_dict['memory_mode'] = isce3.geocode.GeocodeMemoryMode.BLOCKS_GEOGRID
4141
elif geocode_dict['memory_mode'] == 'geogrid_and_radargrid':
4242
geocode_dict['memory_mode'] = isce3.geocode.GeocodeMemoryMode.BLOCKS_GEOGRID_AND_RADARGRID
43-
elif geocode_dict['memory_mode'] == 'auto':
43+
elif geocode_dict['memory_mode'] == 'auto' or (geocode_dict['memory_mode'] is None):
4444
geocode_dict['memory_mode'] = isce3.geocode.GeocodeMemoryMode.AUTO
4545
else:
4646
err_msg = f"ERROR memory_mode: {geocode_dict['memory_mode']}"

0 commit comments

Comments
 (0)