Spaces:
Sleeping
Sleeping
Update demo.py
Browse files
demo.py
CHANGED
@@ -345,7 +345,7 @@ def cSSStructureSampleDemo(style,resn):
|
|
345 |
display(output,style,resn)
|
346 |
|
347 |
# Merging Symmetry and Substructure
|
348 |
-
def mSSubstructureSample(composedCondtioner,output):
|
349 |
protein, trajectories = chroma.sample(
|
350 |
protein_init=protein,
|
351 |
conditioner=composedCondtioner,
|
@@ -379,6 +379,6 @@ def mSSubstructureSampleDemo(style,resn):
|
|
379 |
composed_cond = conditioners.ComposedConditioner([substruct_conditioner, c_symmetry])
|
380 |
|
381 |
if st.sidebar.button("Run Code with Button",key="substructure"):
|
382 |
-
mSSubstructureSample(composed_cond,output)
|
383 |
|
384 |
display(output,style,resn)
|
|
|
345 |
display(output,style,resn)
|
346 |
|
347 |
# Merging Symmetry and Substructure
|
348 |
+
def mSSubstructureSample(protein,composedCondtioner,output):
|
349 |
protein, trajectories = chroma.sample(
|
350 |
protein_init=protein,
|
351 |
conditioner=composedCondtioner,
|
|
|
379 |
composed_cond = conditioners.ComposedConditioner([substruct_conditioner, c_symmetry])
|
380 |
|
381 |
if st.sidebar.button("Run Code with Button",key="substructure"):
|
382 |
+
mSSubstructureSample(preotein,composed_cond,output)
|
383 |
|
384 |
display(output,style,resn)
|