Skip to content

Packaged code for PyPI by niyati #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

niyati-n
Copy link

Screenshot 2024-11-19 at 7 50 36 PM

Once the package is installed, you can use the solve() function to simulate the 2D diffusion process. We can run the code either interactively in a Python shell or in a Python script.
If you choose Python Shell and run the following command.
```python
>>> from niyati_diffusion2d import diffusion2d
Copy link
Member

Choose a reason for hiding this comment

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

Running command led to the error:

>>> from niyati_diffusion2d import diffusion2d
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/dist-packages/niyati_diffusion2d/diffusion2d.py", line 9, in <module>
    from output import create_plot, output_plots
ModuleNotFoundError: No module named 'output'

perhaps a relative import of the output module in diffusion2d.py works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants