question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

notebook metadata creates merging conflicts

See original GitHub issue

Hi,

Is there a way to strip ploombers metadata from a product nb? It is creating merge conflicts, for example:

 "cells": [
  {
   "cell_type": "markdown",
<<<<<<< weartime_explore
   "id": "05e7f237",
   "metadata": {
    "papermill": {
     "duration": 0.010369,
     "end_time": "2022-07-18T17:04:58.952916",
     "exception": false,
     "start_time": "2022-07-18T17:04:58.942547",
=======
   "id": "8f2e4df9",
   "metadata": {
    "papermill": {
     "duration": 0.011938,
     "end_time": "2022-07-19T22:04:51.555390",
     "exception": false,
     "start_time": "2022-07-19T22:04:51.543452",
>>>>>>> main
     "status": "completed"
    },
    "tags": []
   },

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
edublancascommented, Jul 22, 2022

thanks for the heads-up, @julioevi!

0reactions
idomiccommented, Jul 22, 2022

Feel free to join our community channel We’d love to have your feedback!

Read more comments on GitHub >

github_iconTop Results From Across the Web

merge - nbdev - Fast.ai
This implements a git merge driver for notebooks that automatically resolves conflicting metadata and outputs, and splits remaining conflicts as separate cells ...
Read more >
jupyter notebook - Git merge conflict: Cannot find the problem
Recently, I confronted a merge conflict for the first time, and it is on Jupyter notebook file (.ipynb). However, the markers of merge...
Read more >
Diffing and merging notebooks — Jupyter Enhancement ...
Trouble free automatic merge when no merge conflicts occur. Optional behaviour to drop conflicting output, execution counts, and eventual other secondary data.
Read more >
nbdime merge outputs a notebook identical to base without ...
I am trying to merge 3 notebooks which have an obvious conflict. I was expecting there to be merge conflict and then the...
Read more >
4 essential tools to streamline your Git-Jupyter workflow
Merge conflicts with Jupyter Notebooks can be caused by code or metadata, and can sometimes leave a notebook in such a state that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found