osanseviero HF staff commited on
Commit
ee5d4a4
β€’
1 Parent(s): 2202ad1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -42,7 +42,7 @@ with c2:
42
  components.html(source_code, height = 400,width=400)
43
 
44
  ################ Sidebar ####################
45
- with st.sidebar.expander('Rule One (Atoms and Bonds)'):
46
  st.markdown('''
47
  ## Atoms
48
  |If |then |
@@ -63,7 +63,7 @@ with st.sidebar.expander('Rule One (Atoms and Bonds)'):
63
  πŸ›‘ A bond between two lower case atom symbols is *aromatic*.
64
  ''')
65
 
66
- with st.sidebar.expander('Rule Two (Simple Chains)'):
67
  st.markdown('''
68
  ## Simple chains
69
  * Structures are hydrogen suppresed (Molecules represented without hydrogens)
@@ -80,7 +80,7 @@ with st.sidebar.expander('Rule Two (Simple Chains)'):
80
  To identify scandium the user should enter [Sc]*.
81
  ''')
82
 
83
- with st.sidebar.expander('Rule Three (Branches)'):
84
  st.markdown('''
85
  ## Branches
86
  * A branch from a chain is specified by placing the SMILES symbol(s) for the branch between parenthesis.
@@ -88,7 +88,7 @@ with st.sidebar.expander('Rule Three (Branches)'):
88
  * If it is connected by a double or triple bond, the bond symbol immediately follows the left parenthesis.
89
  ''')
90
 
91
- with st.sidebar.expander('Rule Four (Rings)'):
92
  st.markdown('''
93
  ## Rings
94
  * SMILES allows a user to identify ring structures by using numbers to identify the opening and closing ring atom.
@@ -97,7 +97,7 @@ with st.sidebar.expander('Rule Four (Rings)'):
97
  * If a double, single, or aromatic bond is used for the ring closure, the bond symbol is placed before the ring closure number.
98
  ''')
99
 
100
- with st.sidebar.expander('Rule Five (Charged atoms)'):
101
  st.markdown('''
102
  ## Charged atoms
103
  Charges on an atom can be used to override the knowledge regarding valence that is built into SMILES software.
42
  components.html(source_code, height = 400,width=400)
43
 
44
  ################ Sidebar ####################
45
+ with st.sidebar.beta_expander('Rule One (Atoms and Bonds)'):
46
  st.markdown('''
47
  ## Atoms
48
  |If |then |
63
  πŸ›‘ A bond between two lower case atom symbols is *aromatic*.
64
  ''')
65
 
66
+ with st.sidebar.beta_expander('Rule Two (Simple Chains)'):
67
  st.markdown('''
68
  ## Simple chains
69
  * Structures are hydrogen suppresed (Molecules represented without hydrogens)
80
  To identify scandium the user should enter [Sc]*.
81
  ''')
82
 
83
+ with st.sidebar.beta_expander('Rule Three (Branches)'):
84
  st.markdown('''
85
  ## Branches
86
  * A branch from a chain is specified by placing the SMILES symbol(s) for the branch between parenthesis.
88
  * If it is connected by a double or triple bond, the bond symbol immediately follows the left parenthesis.
89
  ''')
90
 
91
+ with st.sidebar.beta_expander('Rule Four (Rings)'):
92
  st.markdown('''
93
  ## Rings
94
  * SMILES allows a user to identify ring structures by using numbers to identify the opening and closing ring atom.
97
  * If a double, single, or aromatic bond is used for the ring closure, the bond symbol is placed before the ring closure number.
98
  ''')
99
 
100
+ with st.sidebar.beta_expander('Rule Five (Charged atoms)'):
101
  st.markdown('''
102
  ## Charged atoms
103
  Charges on an atom can be used to override the knowledge regarding valence that is built into SMILES software.