Changeset 0a75335 in flex_extract.git for Source/Python/Mods/checks.py
- Timestamp:
- Jul 10, 2020, 8:20:31 AM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 8028176
- Parents:
- bbbe1e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Source/Python/Mods/checks.py
rf61e1df r0a75335 651 651 return 652 652 653 def check_public(public, dataset ):653 def check_public(public, dataset, marsclass): 654 654 '''Check wether the dataset parameter is set to a 655 655 public data set. … … 667 667 668 668 ''' 669 if public and not dataset :669 if public and not dataset and not (marsclass.upper() == 'EA'): 670 670 raise ValueError('ERROR: If public MARS data are to be retrieved, ' 671 671 'the "dataset"-parameter has to be set, too!')
Note: See TracChangeset
for help on using the changeset viewer.