Project-MONAI / Project-MONAI/tutorials
Initial import error should go to /dev/null
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 2.5k
- Forks
- 803
- Ø Merge
- 6 T. 22 Std.
- Gemergte PRs (30 T.)
- 3
Beschreibung
Is your feature request related to a problem? Please describe.
We currently have this structure at the top of our notebooks: !python -c "import matplotlib" || pip install -q matplotlib.
In this fashion, if we fail to import matplotlib, pip install it. However, if the first command fails, an error is printed. This could be solved with: !python -c "import matplotlib" &>/dev/null || pip install -q matplotlib
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Durchsuchen Sie die Notebooks nach dem Setup-Befehl python -c \"import matplotlib\" und prüfen Sie jede passende Zelle. Aktualisieren Sie die Behandlung des anfänglichen Imports so, dass dessen Fehlerausgabe vor der Installation unterdrückt wird, und überprüfen Sie anschließend, dass die betroffenen Notebooks matplotlib weiterhin installieren, wenn der Import nicht verfügbar ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- jupyter-notebook, python
- Bereich
- documentation
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100