Teichlab / cellphonedb

MIT License
340 stars 105 forks source link

Coding error in line 48 of cellphonedb/src/core/database/sqlalchemy_repository/InteractionRepository.py #226

Closed cartof closed 3 years ago

cartof commented 3 years ago

Coding error in line 48 of cellphonedb/src/core/database/sqlalchemy_repository/InteractionRepository.py

Might have been a copy/paste error when coding or something like that. This is the wrong code:

multidata_expanded: pd.DataFrame = self.database_manager.get_repository('multidata').get_all_expanded( include_gene)

By removing : pd.DataFrame it's fixed.

prete commented 3 years ago

@cartof thanks for pointing that out. It may look a bit out of place, but it's not really an error as it's supported by PEP-526.