nomic-ai/nomic

AttributeError: 'AtlasProjection' object has no attribute 'is_locked'

michael4tasman opened this issue · 1 comments

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[29], line 5
      3 data_points = {}
      4 project.wait_for_project_lock()
----> 5 for id, embed in map.get_embedding_iterator():
      6     data_points[id] = {'embedding': embed}
      8 topic_data = map.get_topic_data()

File ~/Minds/projects/topical/nomic/lib/python3.10/site-packages/nomic/project.py:614, in AtlasProjection.get_embedding_iterator(self)
    605 def get_embedding_iterator(self) -> Iterable[Tuple[str, str]]:
    606     '''
    607     Iterate through embeddings of your datums.
    608 
   (...)
    611 
    612     '''
--> 614     if self.is_locked:
    615         raise Exception('Project is locked! Please wait until the project is unlocked to download embeddings')
    617     offset = 0

AttributeError: 'AtlasProjection' object has no attribute 'is_locked'

Thanks for finding these, will be fixed shortly with updated documentation.