Skip to content

Commit d1e3817

Browse files
committed
modified output path to scratch
1 parent 7762450 commit d1e3817

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

chromo/mc/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _polymer_in_field(
4747
mu_schedule: Optional[Callable[[float], float]] = None,
4848
lt_schedule: Optional[Callable[[str],float]] = None,
4949
temperature_schedule: Optional[Callable[[str],float]] = None,
50-
output_dir: Optional[DIR] = '.',
50+
output_dir: Optional[DIR] = '.', # defaults to current location, same level as chromo folder: name = output
5151
path_to_run_script: Optional[str] = None,
5252
path_to_chem_mods: Optional[List[str]] = None,
5353
run_command: Optional[str] = None,
@@ -161,14 +161,10 @@ def _polymer_in_field(
161161
print("Not a valid lt schedule option")
162162
else:
163163
print("Missing lt schedule option")
164-
#print("lt change " + str(lt_change))
165-
166-
temperature_adjust_factor = 1
167-
lt_value_adjust= lt_change
168164

169165
decorator_timed_path(output_dir)(mc_sim)(
170166
polymers, binders, num_save_mc, mc_move_controllers, field,
171-
mu_adjust_factor, random_seed, temperature_adjust_factor, lt_value_adjust
167+
mu_adjust_factor, random_seed, temperature_adjust_factor, lt_change
172168
)
173169

174170
for poly in polymers:

chromo/run_simulation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@
127127
num_saves = num_snapshots,
128128
bead_amp_bounds = amp_bead_bounds,
129129
move_amp_bounds = amp_move_bounds,
130-
output_dir = 'output',
130+
output_dir = '/scratch/users/ahirsch1/output', # for running on sherlock
131+
#output_dir = 'output',
131132
mc_move_controllers = moves_to_use,
132133
temperature_schedule = "no schedule",
133134
lt_schedule = "linear increase"

0 commit comments

Comments
 (0)