Skip to content

Updates to error messages, canvas size calculation, documentation, examples#5

Open
patitsas wants to merge 32 commits intohotdogee:masterfrom
patitsas:master
Open

Updates to error messages, canvas size calculation, documentation, examples#5
patitsas wants to merge 32 commits intohotdogee:masterfrom
patitsas:master

Conversation

@patitsas
Copy link
Copy Markdown

I've added two new error messages: if the sun radius was not calculated, and if the sun radius is less than 50 pixels. This will handle Issue #4 . I also tweaked wording for fix_angle because it had confused me.

I updated the canvas size calculation to fix Issue #3 .

The link to example files on the README is broken, so I made three example sets for people to confirm the code is indeed working for them.

I updated README to reflect the addition of example cases. I removed the broken link. I also address the unstated assumption that sun radius is >50 pixels, gave guidance for if the code fails to compute a sun radius, and guidance for if the pip requirements step breaks.

patitsas added 30 commits April 9, 2024 16:40
what to do if sun radius is 0
Creating an error message for if the program is unable to calculate the sun's radius from an input file.
Also adding a note for what to do if requirements break
Also adjusting the canvas size code, the fix from the forum post doesn't always work.
making a directory for example2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant