Skip to content

NEST-SONATA: Enclose pandas import in try block#2843

Merged
heplesser merged 1 commit intonest:masterfrom
nicolossus:nestsonata_pandas
Jun 28, 2023
Merged

NEST-SONATA: Enclose pandas import in try block#2843
heplesser merged 1 commit intonest:masterfrom
nicolossus:nestsonata_pandas

Conversation

@nicolossus
Copy link
Member

Enclosing the pandas import in a try block allows NEST to be built even if pandas is not installed. pandas is still a requirement for NEST-SONATA and an error will be raised if the SonataNetwork class is instantiated without pandas installed.

@nicolossus nicolossus added the S: High Should be handled next label Jun 27, 2023
@nicolossus nicolossus added this to the NEST 3.5 milestone Jun 27, 2023
@nicolossus nicolossus requested review from heplesser and jougs June 27, 2023 20:54
Copy link
Contributor

@jougs jougs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@heplesser heplesser merged commit 2d2517a into nest:master Jun 28, 2023
@nicolossus nicolossus deleted the nestsonata_pandas branch June 28, 2023 08:02
@terhorstd
Copy link
Contributor

Thanks for the quick solution, @nicolossus !

@jougs
Copy link
Contributor

jougs commented Jun 28, 2023

@terhorstd: Does that also mean that you are happy with the solution? ;-)

heplesser added a commit that referenced this pull request Jul 3, 2023
@terhorstd terhorstd added T: Bug Wrong statements in the code or documentation I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: High Should be handled next T: Bug Wrong statements in the code or documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments