Skip to content

Commit

Permalink
- formatting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Dec 6, 2023
1 parent 26ac203 commit 2d281cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions basico/task_timecourse.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@ def run_time_course_with_output(output_selection, *args, **kwargs):
result = task.initializeRaw(COPASI.CCopasiTask.OUTPUT_UI)
if not result:
logger.error("Error while initializing the simulation: " +
model_info.get_copasi_messages(num_messages_before, 'No output'))
model_info.get_copasi_messages(num_messages_before, 'No output'))
else:
task.setCallBack(get_default_handler())
result = task.processRaw(use_initial_values)
if not result:
logger.error("Error while running the simulation: " +
model_info.get_copasi_messages(num_messages_before))
model_info.get_copasi_messages(num_messages_before))

task.restore()
df = get_data_from_data_handler(dh, columns)
Expand Down Expand Up @@ -328,13 +328,13 @@ def run_time_course(*args, **kwargs):
result = task.initializeRaw(COPASI.CCopasiTask.OUTPUT_UI)
if not result:
logger.error("Error while initializing the simulation: " +
model_info.get_copasi_messages(num_messages_before, 'No output'))
model_info.get_copasi_messages(num_messages_before, 'No output'))
else:
task.setCallBack(get_default_handler())
result = task.processRaw(use_initial_values)
if not result:
logger.error("Error while running the simulation: " +
model_info.get_copasi_messages(num_messages_before))
model_info.get_copasi_messages(num_messages_before))

use_concentrations = kwargs.get('use_concentrations', True)
if 'use_numbers' in kwargs and kwargs['use_numbers']:
Expand Down

0 comments on commit 2d281cf

Please sign in to comment.