Skip to content

Commit

Permalink
Fixed tab with space
Browse files Browse the repository at this point in the history
  • Loading branch information
qiqi committed Jul 8, 2018
1 parent 244035b commit 65588d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions apps/Moehlis-Faisst-Eckhart.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ def solve(u, dt, n):
# produce and visualize data
# Moehlis-Faisst-Eckhart model
#==========================================
if not os.path.exists('MFE'):
os.mkdir('MFE')

dt = 1.e-2
mfe = MoehlisFaisstEckhart(Re = 800., Lx = 4.*np.pi, Lz = 2.*np.pi)
Expand Down
6 changes: 3 additions & 3 deletions fds/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class grab_from_SLURM_NODELIST:
'''
def __init__(self, num_nodes, lock_and_dict, exclude_this_node=False):
if lock_and_dict is None:
self.lock = None
else:
self.lock, self.dict = lock_and_dict
self.lock = None
else:
self.lock, self.dict = lock_and_dict
self.grab(num_nodes, exclude_this_node)

def grab(self, num_nodes, exclude_this_node=False):
Expand Down

0 comments on commit 65588d6

Please sign in to comment.