Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fhagemann authored Feb 27, 2024
1 parent 91bf5c1 commit 54476d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SolidStateDetector/SolidStateDetector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function SolidStateDetector{T}(config_file::Dict, input_units::NamedTuple) where
@assert haskey(config_detector, "semiconductor") "Each detector needs an entry `semiconductor`. Please define the semiconductor."
semiconductor = Semiconductor{T}(config_detector["semiconductor"], input_units, transformations)

@assert haskey(config_detector, "contacts") "Each detector needs at least two contacts. Please define the them in the configuration file."
@assert haskey(config_detector, "contacts") "Each detector needs at least two contacts. Please define them in the configuration file."
contacts = broadcast(c -> Contact{T}(c, input_units, transformations), config_detector["contacts"])

# SolidStateDetectors.jl does not allow for arbitrary contact IDs yet (issue #288)
Expand Down Expand Up @@ -190,4 +190,4 @@ function determine_bias_voltage_contact_id(det::SolidStateDetector{T}) where {T
inds = findall(!iszero, contact_potentials)
@assert length(inds) == 1 "Could not determine contact at which the bias voltage is applied as multiple contacts have non-zero contact potentials."
inds[1]
end
end

2 comments on commit 54476d1

@fhagemann
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/101788

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.9.6 -m "<description of version>" 54476d10ebecf227706d85f54421a884406db742
git push origin v0.9.6

Please sign in to comment.