Skip to content

Commit

Permalink
Need to CI repro
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSJohnson committed Jan 31, 2024
1 parent 3071634 commit ac3a9ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/pymol/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ def parse_embed():
layer.embed_dict[key] = ( format, list )
layer.embed_list = list
layer.embed_type = 0 # not a python block
print(f"parse layder {layer}")
print(f"parse embed dict {layer.embed_dict}")
print(f"parse embed list {layer.embed_list}")
else:
print('Error: embed only legal in special files (e.g. p1m)')
raise None
Expand Down Expand Up @@ -480,8 +483,11 @@ def parse_embed():
return p_result # 0 = Exception, None = abort, 1 = ok

def get_embedded(self,key=None):
print(f"Key {key}")
layer = self.layer[self.nest]
print(f"layer {layer}")
dict = layer.embed_dict
print(f"dict {dict}")
if key is None:
key = self.get_default_key()
return dict.get(key,None)
Expand Down

0 comments on commit ac3a9ab

Please sign in to comment.