nespinoza / juliet

A versatile modelling tool for transiting and non-transiting (single and multiple) exoplanetary systems
MIT License
55 stars 30 forks source link

Fix "is" check on string warning, clean up whitespace #86

Closed rosteen closed 1 year ago

rosteen commented 2 years ago

In more recent Python versions, checking var is "string" raises a warning (you should use == for string comparison). This fixes the two places that were raising this warning when importing juliet, as well as cleaning up some extraneous white space.

nespinoza commented 1 year ago

Thanks @rosteen! Added most of these changes in this commit.