Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
m-julian committed Feb 15, 2024
1 parent cc76b2f commit f781f9e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ def plot_total_energy(

# get data from somewhere
if not isinstance(data, list):
fflux_files = [data]
data = [data]

if isinstance(data[0], DlPolyFFLUX):
fflux_files = data
elif isinstance(data[0], FFLUXDirectory):
Expand Down

0 comments on commit f781f9e

Please sign in to comment.