Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
164 changes: 164 additions & 0 deletions mcdc/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
# Git
.git
.github

# Build artifacts
build
.eggs
mcdc.egg-info
dist/

# Material / cross-section data
mcdc_xs
MCDC-Xsec

# Python cache
__pycache__
*.pyc
*.nbc
*.nbi

# GPU cache
__ptxcache__
__harmonize_cache__

# Editor files
.spyproject
*.swp
.vscode/
**/.idea

# Virtual environments
.venv
venv
env

# Output files
*output.h5
output*.h5
*.h5
*.hdf5
*.png
*.mp4
*.gif

# Cluster job files
*.out
*.pbs
*.log

# Test cache
.pytest_cache
pytestdebug.log
.coverage
htmlcov

# Profiler
*.prof

# Documentation builds
docs/build
docs/source/pythonapi/generated/
docs

# Container artifacts
*.sif
*_sandbox
*.tar
containers/

# Misc
tmp
tmp.py
tmp_*
*_tmp.py
*.core
.DS_Store
**/.DS_Store
# Git
.git
.github

# Build artifacts
build
.eggs
mcdc.egg-info
dist/

# Material / cross-section data
mcdc_xs
MCDC-Xsec

# Python cache
__pycache__
*.pyc
*.nbc
*.nbi

# GPU cache
__ptxcache__
__harmonize_cache__

# Editor files
.spyproject
*.swp
.vscode/
**/.idea

# Virtual environments
.venv
venv
env

# Output files
*output.h5
output*.h5
*.h5
*.hdf5
*.png
*.mp4
*.gif

# Cluster job files
*.out
*.pbs
*.log

# Test cache
.pytest_cache
pytestdebug.log
.coverage
htmlcov

# Profiler
*.prof

# Documentation builds
docs/build
docs/source/pythonapi/generated/
docs

# Container artifacts
*.sif
*_sandbox
*.tar
containers/

# Misc
tmp
tmp.py
tmp_*
*_tmp.py
*.core
.DS_Store
**/.DS_Store
*.csv

# Regression test data
dummy_nuclide.h5
source_particles.h5
*.csv

# Regression test data
dummy_nuclide.h5
source_particles.h5
6 changes: 6 additions & 0 deletions mcdc/.git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Run code through autopep8
482f6e642f4e7a4a2a6f82fe5f1dd739af6b61e8

# Run code through black
af5dbfc6d12716cd91155e8c85fa350b13c28d8e
0c3b4f8a61617f66956c71f206b961a5ced0d5ab
39 changes: 39 additions & 0 deletions mcdc/.github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Bug report
about: Create a report to help us improve
title: '[Bug] '
labels: 'bug'
assignees: ''

---
<!-- Delete all sections not applicable -->

# Describe the bug.

A clear description of what the bug is, with code blocks wherever possible.

# Steps to reproduce the bug.

Steps to reproduce the behavior (ideally as a minimum example of where the failure is coming from with code blocks for error messages and inputs):
1. Outline what you did.

## What inputs and outputs are involved?

If applicable, add what you ran or received to help explain your problem.
If there are relevant configuration files, please provide those as well.

## Are there additional replication details?

- Operating System:
- Software Version:
- Python Version:

# What is the expected behavior?

A clear description of what you expected to happen.

# Additional context.

Add any other context about the problem here.

# How can this issue be closed?
27 changes: 27 additions & 0 deletions mcdc/.github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Feature request
about: Suggest an idea for this project
title: '[Feature] '
labels: 'enhancement'
assignees: ''

---
<!-- Delete all sections not applicable -->

# Is your feature request related to a problem? Please describe.

Describe the problem here.

# Describe the feature you'd like.

A clear description of what you want to happen.

## Describe alternatives you've considered.

A clear description of any alternative solutions or features you've considered.

# Additional context.

Add any other context or code blocks about the feature request here.

# How can this issue be closed?
12 changes: 12 additions & 0 deletions mcdc/.github/ISSUE_TEMPLATE/general.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Generic issue
about: Bare template for general needs
title: ''
labels: ''
assignees: ''

---

# Description

# How can this issue be closed?
25 changes: 25 additions & 0 deletions mcdc/.github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Question or Discussion
about: Ask a question or start a discussion about this project
title: "[Question] "
labels: 'question'
assignees: ''

---
<!-- Delete all sections not applicable -->-

# Question or discussion topic.

Please describe your question or the topic you want to discuss.

## Provide details.

Provide any relevant details, context, or background information that might help others
understand your question or discussion topic.

## External context or references.

Add any other context, reference links, or screenshots about the question or discussion
topic here.

# How can this issue be closed?
41 changes: 41 additions & 0 deletions mcdc/.github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## Summary of changes
<!--
In at least one sentence, describe the PR you are submitting.
-->

## Types of changes
<!---
What types of changes does your code introduce? Put an `x` in all the boxes that apply:
-->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Organization and beautification (changes which improve readability and/or accessibility)

## Developer Checklist
<!---
Please review the following checklist, and ensure you have addressed each item. Put an `x` in all boxes once completed.
-->

- [ ] I have read the [contributing guide](https://mcdc.readthedocs.io/en/latest/contribution/index.html).
- [ ] My code follows the [code style](https://mcdc.readthedocs.io/en/latest/contribution/index.html#code-styling) of this project.
- [ ] I have updated the documentation accordingly. <!-- Delete if not applicable -->
- [ ] I have added tests to cover my changes. <!-- Delete if not applicable -->
- [ ] All new and existing tests pass <!-- Delete if not applicable -->

## Associated Issues and PRs
<!--
Please note any issues or pull requests associated with this pull request using GitHub keywords.
Note that for multiple issue linking, a keyword must be included before each issue.
-->

- closes #
- related to #

## Associated Developers
<!--
Please mention any developers who should be alerted of this PR.
-->

- Dev: @
28 changes: 28 additions & 0 deletions mcdc/.github/workflows/black_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Black Style Check

on:
push:
pull_request:

jobs:
black-lint:
name: Lint with Black
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.14"
cache: pip

- name: Install Black
run: |
pip install --upgrade pip
pip install black

- name: Run Black (check mode)
run: black --check .
Loading