Skip to content

Commit

Permalink
chore: fix log (#186)
Browse files Browse the repository at this point in the history
* fix_log

Signed-off-by: takeshi.iwanari <[email protected]>

* add log

Signed-off-by: takeshi.iwanari <[email protected]>

---------

Signed-off-by: takeshi.iwanari <[email protected]>
  • Loading branch information
iwatake2222 authored Dec 26, 2024
1 parent 32de474 commit 029ec88
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@
import logging
import csv
import yaml
import sys
import numpy as np
import pandas as pd
from caret_analyze import Architecture
from anytree import Node, RenderTree
import flask

_logger = logging.Logger(__name__)
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/..')
from common.utils import create_logger

_logger = create_logger(__name__)
app = flask.Flask(__name__)


Expand Down
8 changes: 7 additions & 1 deletion report/track_path/make_report_track_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,19 @@
import re
import subprocess
import yaml
import sys
import numpy as np
import pandas as pd
from bokeh.plotting import figure, save
from bokeh.models import FixedTicker, DataRange1d
from bokeh.resources import CDN
import flask

_logger = logging.Logger(__name__)
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/..')
from common.utils import create_logger


_logger = create_logger(__name__)
app = flask.Flask(__name__)


Expand Down Expand Up @@ -137,6 +142,7 @@ def make_stats_file_dict(dest_dir: str, report_store_dir: str) -> list[tuple[str
past_report_list = [e for e in past_report_list if 'validate_' not in e and e != '']
else:
past_report_list = []
_logger.info(f'past_report_list = {past_report_list}')
if report_store_dir in past_report_list:
past_report_list.remove(report_store_dir)

Expand Down

0 comments on commit 029ec88

Please sign in to comment.