Skip to content

Commit

Permalink
Merge pull request #89 from AstarVienna/fh/nomoremasters
Browse files Browse the repository at this point in the history
Remove remaining DevOps master references, delete mindeps
  • Loading branch information
teutoburg authored Aug 28, 2024
2 parents 268214f + a632453 commit 6023caa
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/markdown_link_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ on:

jobs:
markdown-link-check:
uses: AstarVienna/DevOps/.github/workflows/markdown_link_check.yml@master
uses: AstarVienna/DevOps/.github/workflows/markdown_link_check.yml@main
23 changes: 0 additions & 23 deletions .github/workflows/minimumdependencies.yml

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ on:

jobs:
call-tests:
uses: AstarVienna/DevOps/.github/workflows/tests.yml@master
name: Offline tests
uses: AstarVienna/DevOps/.github/workflows/tests.yml@main
with:
poetry: False
secrets: inherit
6 changes: 0 additions & 6 deletions scopesim_templates/stellar/clusters.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ def cluster(mass=1E3, distance=50000, core_radius=1, ra=RA0, dec=DEC0,
spec_types = cu.mass2spt(masses)
spec_types = cu.closest_pickles(spec_types)

# HACK: Delete this once pyckles issue #5 is solved!
# Check tests here to see if it works
for i, spt in enumerate(spec_types):
if spt == "M25V":
spec_types[i] = "M25V "

# 3. get spectra from pyckles
pickles = pyckles.SpectralLibrary("pickles", return_style="synphot")
unique_spts = set(spec_types)
Expand Down
2 changes: 1 addition & 1 deletion scopesim_templates/stellar/stars.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def stars(filter_name, amplitudes, spec_types, x, y, library="pyckles",
# for spt in zip(cat_spec_types)]
spectra = [Spextrum(modelclass=pickles_lib[spt]).scale_to_magnitude(
filter_curve=filter_name, amplitude=zero)
for spt in zip(cat_spec_types)]
for spt in cat_spec_types]

else:
spectra = [Spextrum(library + "/" + spec.lower()).scale_to_magnitude(
Expand Down

0 comments on commit 6023caa

Please sign in to comment.