Skip to content

Commit

Permalink
#11 - Add main conference papers
Browse files Browse the repository at this point in the history
- Fix linting
  • Loading branch information
jcklie committed Oct 31, 2020
1 parent 36b0f63 commit c7ce5a6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions miniconf/load_site_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
import json
import os
from collections import OrderedDict, defaultdict
from datetime import date, datetime, timedelta
from itertools import chain
from typing import Any, DefaultDict, Dict, List, Tuple, Union
from datetime import datetime, timedelta
from typing import Any, DefaultDict, Dict, List

import jsons
import pytz
Expand Down Expand Up @@ -157,7 +156,6 @@ def load_site_data(
papers = build_papers(
raw_papers=site_data["main_papers"] + site_data["demo_papers"],
paper_sessions=site_data["paper_sessions"],
qa_session_length_hr=qa_session_length_hr,
paper_recs=site_data["paper_recs"],
paper_images_path=site_data["config"]["paper_images_path"],
)
Expand Down Expand Up @@ -566,7 +564,6 @@ def get_card_image_path_for_paper(paper_id: str, paper_images_path: str) -> str:
def build_papers(
raw_papers: List[Dict[str, str]],
paper_sessions: Dict[str, Any],
qa_session_length_hr: int,
paper_recs: Dict[str, List[str]],
paper_images_path: str,
) -> List[Paper]:
Expand Down Expand Up @@ -840,8 +837,6 @@ def compute_schedule_blocks(events) -> List[List[Dict[str, Any]]]:
# sort by start times
events = sorted(events, key=lambda x: x["start_time"])

gaps = []

# Start at the end of the first range
now = events[0]["end_time"]

Expand Down

0 comments on commit c7ce5a6

Please sign in to comment.