Skip to content

Commit

Permalink
0.5.0 - Outputs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanchez-garcia committed Dec 16, 2022
1 parent b649904 commit a743b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions accim/sim/accis.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,6 @@ def addAccis(
'standard',
'Simplified',
'simplified',
'Existing',
'existing',

'Timestep',
'timestep',
'Runperiod',
'runperiod'
]

fullOutputsFreqList = [
Expand Down Expand Up @@ -177,10 +170,10 @@ def addAccis(
while Output_keep_existing.lower() not in ['true', 'false']:
Output_keep_existing = input('The answer you entered is not valid. '
'Do you want to keep the existing outputs (true or false)?: ')
Output_type = input("Enter the Output type (standard, simplified or existing): ")
Output_type = input("Enter the Output type (standard or simplified): ")
while Output_type not in fullOutputsTypeList:
Output_type = input(" Output type was not correct. "
"Please, enter the Output type (standard, simplified or existing): ")
"Please, enter the Output type (standard or simplified): ")
Output_freqs = list(freq for freq in input(
"Enter the Output frequencies separated by space (timestep, hourly, daily, monthly, runperiod): ").split())
while (not(all(elem in fullOutputsFreqList for elem in Output_freqs))):
Expand Down
Binary file modified dist/accim-0.5.0.tar.gz
Binary file not shown.

0 comments on commit a743b87

Please sign in to comment.