Spaces:
Sleeping
Sleeping
Update demo.py
Browse files
demo.py
CHANGED
@@ -341,7 +341,7 @@ def cSSStructureSampleDemo(style,resn):
|
|
341 |
display(output,style,resn)
|
342 |
|
343 |
# Merging Symmetry and Substructure
|
344 |
-
def mSSubstructureSample(composedCondtioner,output):
|
345 |
protein, trajectories = chroma.sample(
|
346 |
protein_init=protein,
|
347 |
conditioner=composedCondtioner,
|
@@ -373,6 +373,6 @@ def mSSubstructureSampleDemo(style,resn):
|
|
373 |
composed_cond = conditioners.ComposedConditioner([substruct_conditioner, c_symmetry])
|
374 |
|
375 |
if st.sidebar.button("Run Code with Button",key="substructure"):
|
376 |
-
mSSubstructureSample(composed_cond,output)
|
377 |
|
378 |
display(output,style,resn)
|
|
|
341 |
display(output,style,resn)
|
342 |
|
343 |
# Merging Symmetry and Substructure
|
344 |
+
def mSSubstructureSample(protein,composedCondtioner,output):
|
345 |
protein, trajectories = chroma.sample(
|
346 |
protein_init=protein,
|
347 |
conditioner=composedCondtioner,
|
|
|
373 |
composed_cond = conditioners.ComposedConditioner([substruct_conditioner, c_symmetry])
|
374 |
|
375 |
if st.sidebar.button("Run Code with Button",key="substructure"):
|
376 |
+
mSSubstructureSample(protein,composed_cond,output)
|
377 |
|
378 |
display(output,style,resn)
|