ORAC-CC / orac

Optimal Retrieval of Aerosol and Cloud
GNU General Public License v3.0
30 stars 19 forks source link

Syntax Errors in local_defaults.py.example #81

Open andyprata opened 1 year ago

andyprata commented 1 year ago

https://github.com/ORAC-CC/orac/blob/2180705f9bf8050cddc548d0b0321da10ad9f57f/tools/pyorac/local_defaults.py.example#L156

Should be: "summary": "n/a",

https://github.com/ORAC-CC/orac/blob/2180705f9bf8050cddc548d0b0321da10ad9f57f/tools/pyorac/local_defaults.py.example#L330

Should be: 'email': GLOBAL_ATTRIBUTES["email"],

Not so much a syntax error but you get a no attributes error if this is not changed from https://github.com/ORAC-CC/orac/blob/2180705f9bf8050cddc548d0b0321da10ad9f57f/tools/pyorac/local_defaults.py.example#L340 to BATCH_SCRIPT = """#!/bin/bash --noprofile

adamcpovey commented 1 year ago

Yeah, those should all be fixed. Go ahead if you've already done it.

I've never actually tried to use the file and am slightly tempted to replace it with the JASMIN one to remove a step for new users.