Skip to content

Commit

Permalink
Merge pull request #4 from engisalor/dev
Browse files Browse the repository at this point in the history
merge dev
  • Loading branch information
engisalor authored Oct 20, 2023
2 parents 8081713 + 5827993 commit 30a98f6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/aio/aio.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2023 Loryn Isaacs
# This file is part of Quartz, licensed under GPL3+ https://github.com/engisalor/quartz
"""All-in-one components."""
import pathlib
import uuid
Expand Down
2 changes: 2 additions & 0 deletions components/aio/corpora.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2023 Loryn Isaacs
# This file is part of Quartz, licensed under GPL3+ https://github.com/engisalor/quartz
"""Components for the Corpora page."""
import uuid

Expand Down
2 changes: 2 additions & 0 deletions components/aio/ske_graph.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2023 Loryn Isaacs
# This file is part of Quartz, licensed under GPL3+ https://github.com/engisalor/quartz
import json
import re
import uuid
Expand Down
2 changes: 2 additions & 0 deletions pages/freqs_viz.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2023 Loryn Isaacs
# This file is part of Quartz, licensed under GPL3+ https://github.com/engisalor/quartz
import textwrap

import numpy as np
Expand Down
3 changes: 3 additions & 0 deletions pages/query.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2023 Loryn Isaacs
# This file is part of Quartz, licensed under GPL3+ https://github.com/engisalor/quartz
import json
import logging
import urllib
Expand Down Expand Up @@ -452,6 +454,7 @@ def download_frequencies(n_clicks, corpora, attribute, query, data):
df["corpname"].replace(
{k: corp_data.dt[k]["name"] for k in corp_data.dt.keys()}, inplace=True
)
df.drop(["params"], axis=1, inplace=True)
df.reset_index(drop=True, inplace=True)
file = "~".join(["~".join(df["corpname"].unique()), query, attribute])
logging.debug(file)
Expand Down
2 changes: 2 additions & 0 deletions settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2023 Loryn Isaacs
# This file is part of Quartz, licensed under GPL3+ https://github.com/engisalor/quartz
import logging
import os
from dataclasses import dataclass
Expand Down

0 comments on commit 30a98f6

Please sign in to comment.