-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from CosmoStat/fix/black-test-failure
Fix black test failure in CI
- Loading branch information
Showing
11 changed files
with
36 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
:Authors: Jennifer Pollack <[email protected]> and Tobias Liaudat <[email protected]> | ||
""" | ||
|
||
import numpy as np | ||
import wf_psf.utils.utils as utils | ||
import tensorflow as tf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
:Author: Tobias Liaudat <[email protected]> and Jennifer Pollack <[email protected]> | ||
""" | ||
|
||
import numpy as np | ||
import zernike as zk | ||
import tensorflow as tf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
:Author: Jennifer Pollack <[email protected]> | ||
""" | ||
|
||
import argparse | ||
from wf_psf.utils.read_config import read_stream | ||
from wf_psf.utils.io import FileIOHandler | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
:Author: Jennifer Pollack <[email protected]> | ||
""" | ||
|
||
import pytest | ||
from wf_psf.utils.read_config import RecursiveNamespace | ||
from wf_psf.training import train | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
""" | ||
|
||
import pytest | ||
import os | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
:Authors: Jennifer Pollack <[email protected]> | ||
""" | ||
|
||
import numpy as np | ||
from wf_psf.utils.read_config import read_conf | ||
from wf_psf.data.training_preprocessing import TrainingDataHandler, TestDataHandler | ||
|
@@ -412,9 +413,9 @@ def call_plot_config_handler_run(self, model_metrics): | |
) | ||
|
||
# Update metrics_confs dict with latest result | ||
plots_config_handler.metrics_confs[ | ||
self._file_handler.workdir | ||
] = self.metrics_conf | ||
plots_config_handler.metrics_confs[self._file_handler.workdir] = ( | ||
self.metrics_conf | ||
) | ||
|
||
# Update metric results dict with latest result | ||
plots_config_handler.list_of_metrics_dict[self._file_handler.workdir] = [ | ||
|