Skip to content

Commit ecd6e1e

Browse files
committed
change: changed color, got some weird output
1 parent 83ac81e commit ecd6e1e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
FAVICON_PATH = WEB_DIR / "favicon.ico"
2020

2121
logging.basicConfig(
22-
level=logging.DEBUG,
22+
level=logging.INFO,
2323
format="%(asctime)s %(levelname)s [%(name)s] %(message)s",
2424
)
2525

src/skyview_downloader.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def fetch_survey_image(
135135
if not images:
136136
raise RuntimeError(f"SkyView returned no images for {pos} in {survey}")
137137

138+
logger.info(images[0][0])
138139
hdu = cast(fits.PrimaryHDU, images[0][0])
139140
output_dir = Path(output_dir)
140141
output_dir.mkdir(parents=True, exist_ok=True)
@@ -174,7 +175,7 @@ def fetch_survey_image(
174175

175176
ax.grid(color="white", ls=":", alpha=0.3)
176177
fig.tight_layout()
177-
fig.savefig(png_path, dpi=200, facecolor="black")
178+
fig.savefig(png_path, dpi=200, facecolor="green")
178179
plt.close(fig)
179180

180181
elapsed = perf_counter() - start

0 commit comments

Comments
 (0)