File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -492,6 +492,7 @@ ResdataRestartFile.contains_report_step
492492The classmethod :code:`contains_report_step` will check if the file
493493* filename* contains the report_step * report_step* :
494494
495+ .. code:: python
495496
496497 if ResdataRestartFile.contains_report_step( " CASE.UNRST" , 100 ):
497498 print (" The file has a section for report step=100" )
@@ -1075,9 +1076,11 @@ ending date of the simulation respectively. The return value is an
10751076instance of Python datetime.date(): ... start_date = sum .start_date
10761077end_date = sum .end_date
10771078
1078- print " Simulation started.............: %s " % start_date
1079- print " Simulation ended...............: %s " % end_date
1080- print " The simulation spans %s days...: %s " % (end_date - start_date).days
1079+ .. code:: python
1080+
1081+ print " Simulation started.............: %s " % start_date
1082+ print " Simulation ended...............: %s " % end_date
1083+ print " The simulation spans %s days...: %s " % (end_date - start_date).days
10811084
10821085start_time / end_time
10831086,,,,,,,,,,,,,,,,,,,,,
You can’t perform that action at this time.
0 commit comments