Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/code-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,19 @@ jobs:
- name: Post-Process Output
run: |
python3 -m pip install nasa-scrub
results_dir=`realpath ${{ github.workspace }}/../results`
sarif_files=`find $results_dir -name '*.sarif'`
for sarif_file in $sarif_files
do
output_file="$results_dir/$(basename $sarif_file .sarif)_stripped.sarif"
python3 -m scrub.tools.parsers.translate_results $sarif_file $output_file ${{ github.workspace }} sarifv2.1.0
done
echo "RESULTS_DIR=$results_dir" >> $GITHUB_ENV
# This step makes the analysis artifacts available for download
# This can be helpful for debugging and archive purposes
- name: Upload Artifacts
Expand Down
4 changes: 2 additions & 2 deletions ait/core/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"""
import os
import struct
from importlib.resources import files
from io import IOBase

import pkg_resources
import yaml

import ait
Expand Down Expand Up @@ -518,7 +518,7 @@ def getDefaultDictFilename(): # noqa


def getDefaultSchema(): # noqa
return pkg_resources.resource_filename("ait.core", "data/cmd_schema.json")
return files("ait.core").joinpath("data/cmd_schema.json")


def getMaxCmdSize(): # noqa
Expand Down
4 changes: 2 additions & 2 deletions ait/core/evr.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"""
import os
import re
from importlib.resources import files

import pkg_resources
import yaml

import ait.core
Expand Down Expand Up @@ -75,7 +75,7 @@ def toJSON(self): # noqa


def getDefaultSchema(): # noqa
return pkg_resources.resource_filename("ait.core", "data/evr_schema.json")
return files("ait.core").joinpath("data/evr_schema.json")


def getDefaultDict(reload=False): # noqa
Expand Down
4 changes: 2 additions & 2 deletions ait/core/limits.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
"""
import os
from importlib.resources import files
from io import IOBase

import pkg_resources
import yaml

import ait
Expand Down Expand Up @@ -224,7 +224,7 @@ def getDefaultDict(reload=False): # noqa


def getDefaultSchema(): # noqa
return pkg_resources.resource_filename("ait.core", "data/limits_schema.json")
return files("ait.core").joinpath("data/limits_schema.json")


def getDefaultDictFilename(): # noqa
Expand Down
4 changes: 2 additions & 2 deletions ait/core/tlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
import csv
import os
import struct
from importlib.resources import files
from io import IOBase

import pkg_resources
import yaml

import ait
Expand Down Expand Up @@ -1096,7 +1096,7 @@ def getDefaultDict(reload=False): # noqa


def getDefaultSchema(): # noqa
return pkg_resources.resource_filename("ait.core", "data/tlm_schema.json")
return files("ait.core").joinpath("data/tlm_schema.json")


def getDefaultDictFilename(): # noqa
Expand Down
Binary file modified config/leapseconds.dat
Binary file not shown.
Loading
Loading