-
Notifications
You must be signed in to change notification settings - Fork 16
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
docs: New documentation #858
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of the proposed changes contain somewhat broken English ❤️ Can you run it through chatgpt to correct your modifications?
Oh, also please either fill out the PR description, or remove the template. You linked issues 1, 2 and 3 ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@filimarc run all these sentences through ChatGPT asking it to correct spelling, grammar, and to align the writing style with technical writing for technical documentation.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #858 +/- ##
==========================================
- Coverage 89.09% 89.06% -0.03%
==========================================
Files 110 110
Lines 15164 15231 +67
==========================================
+ Hits 13510 13566 +56
- Misses 1654 1665 +11 ☔ View full report in Codecov by Sentry. |
merge python projects in getting started and move the rest to dev.
We should start a new batch of review right away since there are a lot to check and we would like to merge it as soon as possible as new users will probably use the tool soon (Erice school). |
move images in the images folder. The morphology and python stellate model should be removed from the repo when they will be available on the dbbs models public repo.
fix and comment distrib_placement.py
Make analysis more uniform
May be sufficient for dbbs-lab/bsb-nest#13
split copy_configuration_template into two functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still had this pending :)
@@ -222,7 +231,7 @@ def get_options(self): | |||
def add_parser_arguments(self, parser): | |||
parser.add_argument("network") | |||
parser.add_argument("simulation") | |||
parser.add_argument("-o", "--output") | |||
parser.add_argument("-o", "--output_folder") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parser.add_argument("-o", "--output_folder") | |
parser.add_argument("-o", "--output-folder") |
I think the CLI is kebab cased
parameters: dict[str, typing.Any] = config.catch_all(type=types.any_()) | ||
"""parameters to pass to the distribution""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""parameters to pass to the distribution""" | |
"""Parameters to pass to the distribution""" |
@@ -778,7 +796,7 @@ def create_job_pool(self, fail_fast=None, quiet=False): | |||
) | |||
try: | |||
# Check whether stdout is a TTY, and that it is larger than 0x0 | |||
# (e.g. MPI sets it to 0x0 unless an xterm is emulated. | |||
# (e.g. MPI sets it to 0x0 unless a xterm is emulated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is "an xterm," because the choice between "a" and "an" depends on the sound that follows, not the written letter. Since "xterm" is pronounced with an initial vowel sound ("exterm"), "an" is correct.
Parameters | ||
---------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not part of the docstring syntax we use
@@ -82,7 +82,7 @@ def pick(self, morphology): | |||
|
|||
@config.node | |||
class NeuroMorphoSelector(NameSelector, classmap_entry="from_neuromorpho"): | |||
_url = "https://neuromorpho.org/" | |||
_url = "http://cng.gmu.edu:8080/neuroMorpho/" # "https://neuromorpho.org/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change this? neuromorpho.org still seems to be working?
|
||
.. rubric:: Parametrization | ||
For each component, BSB provides interfaces, each with a set of functions that you must |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For each component, BSB provides interfaces, each with a set of functions that you must | |
For each component, the BSB provides interfaces, each with a set of functions that you must |
|
||
.. rubric:: Parametrization | ||
For each component, BSB provides interfaces, each with a set of functions that you must | ||
implement. If these functions are present, the framework knows how to use your class. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implement. If these functions are present, the framework knows how to use your class. | |
implement. By implementing these functions the framework can seamlessly integrate your custom components | |
into a BSB workflow. Neat! |
|
||
Parameters defined as class attributes --> can be specified in config/init. Make things | ||
explicitly visible and settable. | ||
Hence, the framework allows you to plug in user code pretty much anywhere. Neat. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hence, the framework allows you to plug in user code pretty much anywhere. Neat. |
@@ -79,6 +79,7 @@ | |||
"mpi4py": ("https://mpi4py.readthedocs.io/en/stable/", None), | |||
"arbor": ("https://docs.arbor-sim.org/en/latest/", None), | |||
"neo": ("https://neo.readthedocs.io/en/latest/", None), | |||
"bsb": ("https://bsb.readthedocs.io/en/latest", None), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why ref itself?
print("We only store referrers coming from a .square configuration attribute") | ||
|
||
todo: Mention ``pop_unique`` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where did all this go?
Describe the work done
Update documentation to BSB versions 4.x
Fix BSB CLI
Issues related
Close #904 #897
Tasks
📚 Documentation preview 📚: https://bsb--858.org.readthedocs.build/en/858/