Skip to content

Commit

Permalink
Merge pull request #57 from SNflows/refactor_tendrils_v1
Browse files Browse the repository at this point in the history
Refactor to use Tendrils api, load_config, ztf, tns.
Remove API.
Offload config.py to Tendrils.
Begin refactor of runners.
Simple code style changes for runners.
  • Loading branch information
emirkmo authored Mar 7, 2022
2 parents 289ecd5 + 0022a7f commit 6d3e15d
Show file tree
Hide file tree
Showing 32 changed files with 77 additions and 1,069 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ insert_final_newline = true

# Code documentation
[*.rst]
indent_style = tab
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
Expand Down
9 changes: 3 additions & 6 deletions flows/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# flake8: noqa

"""
FLOWS pipeline package
"""
from .photometry import photometry
from .catalogs import download_catalog
from .visibility import visibility
from .config import load_config

from .version import get_version

__version__ = get_version(pep440=False)
2 changes: 1 addition & 1 deletion flows/aadc_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import psycopg2 as psql
from psycopg2.extras import DictCursor
import getpass
from .config import load_config
from tendrils.utils import load_config


# --------------------------------------------------------------------------------------------------
Expand Down
12 changes: 0 additions & 12 deletions flows/api/__init__.py

This file was deleted.

127 changes: 0 additions & 127 deletions flows/api/catalogs.py

This file was deleted.

78 changes: 0 additions & 78 deletions flows/api/datafiles.py

This file was deleted.

34 changes: 0 additions & 34 deletions flows/api/filters.py

This file was deleted.

54 changes: 0 additions & 54 deletions flows/api/lightcurves.py

This file was deleted.

Loading

0 comments on commit 6d3e15d

Please sign in to comment.